package com.jcsz.gulimall.order.feign;

import com.jcsz.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @className: MemberFeignService
 * @author: 一把Po吉他
 * @date: 2022/11/12 13:36
 * @version: 1.0
 **/
@FeignClient("gulimall-member")
public interface MemberFeignService {
    @GetMapping("/member/memberreceiveaddress/getAddress/{memberid}")
    public List<MemberAddressVo> getAddress(@PathVariable("memberid") Long memberId);

}
